<?php
include("../include/config.inc.php");
include("userlogincheck.php");

$store_id=GetValueByKey(tableprefix."store","member_id",$userid,"store_id");
$sql="select account from ".tableprefix."store where store_state=1 and store_id='$store_id'";
$result=$db->query($sql);
$row=$db->fetch_array($result);
$account=$row["account"];
$db->free_result($result);
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>我的钱包 - 订戏会</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=9,Chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="keywords" content="">
<meta name="description" content="">
<link rel="stylesheet" type="text/css" href="../css/public.css">
<link rel="stylesheet" type="text/css" href="../css/user.css">
</head>

<body>
<div class="wallet-info">
	<span><?php echo number_format($account,2);?></span>
	<p>可用余额（元）</p>
</div>

<div class="nav_guide" style="margin-top:0px;">
	<ul>
		<a href="bond.php"><li><i class="qianbao cashout"></i>保证金</li></a>
		<a href="payments.php"><li><i class="qianbao tixian"></i>收支明细</li></a>
		<a href="cashlist.php"><li><i class="qianbao yinhang"></i>提现记录</li></a>
		<a href="cashout.php"><li><i class="qianbao cashout"></i>余额提现</li></a>
	</ul>
</div>
<div class="paybtn"><a href="seller.php"><div class="paybox">返回</div></a></div>
</body>
</html>
<?php
$db->close();
exit;
?>